Integrate the google map api with the GOOGLE Search API. I wrote a class in object-oriented mode, passed a latitude and longitude, and automatically obtained nearby information through GOOGLE LOCAL SEARCH. Such as restaurants and scenic spots, which are marked on the map in turn and can be displayed in any container.The following is the source code:
Copy codeThe Code is as follows :/*
* Author: karry
* Version: 1.0
* Time: 2008-12-01
* KMapSearch class
* Combines google map with LocalSearch. You
Integrate the google map api with the GOOGLE Search API. I wrote a class in object-oriented mode, passed a latitude and longitude, and automatically obtained nearby information through GOOGLE LOCAL SEARCH. Such as restaurants and scenic spots, which are marked on the map in turn and can be displayed in any container.The following is the source code:Copy codeThe Code is as follows:/** Author: karry* Version: 1.0* Time: 2008-12-01* KMapSearch class* Combines google map with LocalSearch. You only n
created based on jeditable and allows you to create editable regions when you click a link. To replace the Enter key, the SAVE and cancel buttons are provided to save the content. Akmodal: Simplest alternative to thickbox
Akmodal allows you to easily and quickly create a simulation dialog box or a pop-up box to display some simple information. Asmselect-alternative select multiple
Alternative Selection: Provides progressive enhancement and selects multiple form elements.
If you were front end coder You must know how important was to make cross browses, valid CSS and XHTML code. And also must know how much time we is spending in all those hacks and fixes for various browsers. I ' ve written about some of them earlier on PNG transparency issues, Yellow fields in Web Form, Vertical align div etc.
Here is the list of ten hand picked CSS hacks and tricks which can help you in your CSS code and also save some time.
1. Vertical Align Div (vertical center)
http://sty
If you are are front end coder Your must know how important are to make cross browses, valid CSS and XHTML code.And also you must know, we are spending in all those hacks and fixes for various browsers. I ' ve written about some of them earlier on PNG transparency issues, yellow fields in Web Form, Vertical align div etc.
This is the list of hand picked CSS hacks and tricks which can help your in your CSS code and also save some time.
1. Vertical Align Div (vertically centered)
http://stylize
),
AutoClear:opts_.autoClear | | True
Icon:opts_.icon | | New Gicon (G_default_icon)
};
This.map = MAP_;
This.glocalsearch = new Google.search.LocalSearch ();
This.gLocalSearch.setCenterPoint (THIS.OPTS.LATLNG);
This.gLocalSearch.setResultSetSize (Gsearch.large_resultset);
This.gLocalSearch.setSearchCompleteCallback (this, function () {
if (this.gLocalSearch.results) {
var savedresults = document.getElementById (This.opts.container);
if (th
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.